<?php

class card extends  BaseBean{
    
    public $_table= "iCard";
    public $_primarykey= "ID";
	public $defDbCfg = array(
        "host"=>"localhost",
        "user"=>"sa",
        "password"=>"123456",
        "database"=>"Beauty"
     );

    public function __construct(){
    	$this->addChild("cardsale","ID","CardID");
		$this->addChild("hcard","ID","RefCardID");    
    }

    
}
?>